SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 51078: A FedSQL or DS2 query on a table that has >2GB rows and that was created on platforms with a C long data type of 32 bits might not return any rows

DetailsAboutRate It

An attempt to retrieve rows or the count of rows from a table using FedSQL or DS2 might return unexpected results. The issue occurs when the table contains more than 2GB of rows and was created on a platform in which the C long data type is 32 bits. This includes MVS as well as both the 32-bit and 64-bit versions of Windows Vista, Windows XP, and Windows 7.

Here are some examples:

  • The query select count (*) from table might return -1.
  • The query select * from table might not return any data.

To circumvent the problem, use SAS® 9.3 or SAS® 9.4 to make a new copy of the data set while also setting the option EXTENDOBSCOUNTER=YES.

EXTENDOBSCOUNTER=YES is the default with SAS 9.4. EXTENDOBSCOUNTER= is available as a data set option and as an option in the LIBNAME statement in SAS 9.3 and 9.4. In SAS 9.4, it is also available as a system option.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemN/Az/OS9.4 TS1M09.4 TS1M1
Microsoft® Windows® for 64-Bit Itanium-based Systems9.4 TS1M0
Microsoft® Windows® for x649.4 TS1M09.4 TS1M1
Microsoft Windows 8 Enterprise 32-bit9.4 TS1M09.4 TS1M1
Microsoft Windows 8 Enterprise x649.4 TS1M09.4 TS1M1
Microsoft Windows 8 Pro 32-bit9.4 TS1M09.4 TS1M1
Microsoft Windows 8 Pro x649.4 TS1M09.4 TS1M1
Microsoft Windows Server 2008 R29.4 TS1M09.4 TS1M1
Microsoft Windows Server 2008 for x649.4 TS1M09.4 TS1M1
Microsoft Windows Server 2012 Datacenter9.4 TS1M09.4 TS1M1
Microsoft Windows Server 2012 Std9.4 TS1M09.4 TS1M1
Windows 7 Enterprise x649.4 TS1M09.4 TS1M1
Windows 7 Professional x649.4 TS1M09.4 TS1M1
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.